<?php
/**
 * Created by 项目.
 * User: xuguopeng
 * Date: 2020-06-28
 * Time: 14:29
 */

namespace app\api\model;


use think\model\concern\SoftDelete;

class GoodsOrderContent extends BaseModel
{
    use SoftDelete;

    public function img()
    {
        return $this->belongsTo('Image','img_id','id');
    }

    public function goods()
    {
        return $this->belongsTo('Goods','goods_id','id');
    }
}